﻿<%@ Page Title="" Language="C#" MasterPageFile="~/en/Main.master" AutoEventWireup="true"
    CodeFile="Index.aspx.cs" Inherits="en_NewsCenter_Index" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="Wsitech.Model" %>
<%@ Import Namespace="Wsitech.BLL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>News Center-Legend Holdings</title>
    <!--news-->
    <link href="/en/!css/news.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/!js/news.js" language="javascript"></script>
    <!--news-->
    <style type="text/css">
        .disabled
        {
            text-decoration: none;
            color: #9FA0A0;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $('.pages a').each(function () {
                if ($(this).attr('disabled')) {
                    $(this).css('color', '#9FA0A0').css('text-decoration', 'none');
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
    <div class="main">
        <div class="main_left">
            <%--<dl>
                <dt><a href="/en/NewsCenter/Index.aspx">Press release</a></dt>
            </dl>
            <dl>
                <dt><a href="/en/NewsCenter/Index.aspx">Media reports</a></dt>
            </dl>--%>
            <div class="business_link">
                <p class="r_link">
                    Related links</p>
                <ul class="r_linklist">
                    <li><a href="/en/About/ChairmanNote.aspx">About</a></li>
                    <li><a href="/en/About/OurHistory.aspx">Our History</a></li>
                    <li><a href="/en/Leadership/Governance.aspx">Leadership</a></li>
                    <li><a href="/en/Biz/CoreAsset/Overview.aspx">Our Business</a></li>
                    <li><a href="/en/MgmtCulture/Index.aspx">Management Philosophy/ Culture</a></li>
                    <li><a href="/en/Careers/Index.aspx">Careers</a></li>
                </ul>
            </div>
        </div>
        <div class="main_right">
            <p>
                <img src="/en/!images/draft_pic.jpg" /></p>
            <p class="pagenavi pagenavi_mar">
                <a href="/en/Index.aspx">Home</a> > News</p>
            <p class="clear">
            </p>
            <p class="nsort_title">
                Press Releases</p>
            <div class="news_list">
                <ul>
                    <asp:Repeater ID="repPressRelease" runat="server">
                        <ItemTemplate>
                            <li>
                                <p class="news_title">
                                    <a href="<%#string.Format("{0}?tid={1}",Wsitech.Utility.GlobalConst.NEWS_VIEW_EN,(Container.DataItem as TextInfo).TextInfoId)%>"
                                        target="_blank">
                                        <%#(Container.DataItem as TextInfo).Title %>
                                    </a>
                                </p>
                                <p>
                                    <%#(Container.DataItem as TextInfo).PublishTime.ToString("MMMM dd, yyyy", new System.Globalization.CultureInfo("en-us"))%>
                                    <br />
                                    Related Company :
                                    <%# CompanyInfoBLL.Instance.GetEnCompanyName((Container.DataItem as TextInfo).CompanyId)%>
                                </p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div class="pages">
                </div>
            </div>
            <p class="clear">
            </p>
            <div class="pages listborder news_pages_left">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" NextPageText="Next Page" PrevPageText="Previous Page "
                    FirstPageText="First Page" LastPageText="Last Page" ShowPageIndexBox="Always"
                    PageIndexBoxClass="gopage" PageIndexBoxStyle="width:22px;" SubmitButtonClass="gobutton"
                    PageSize="3" OnPageChanged="AspNetPager1_PageChanged" PagingButtonSpacing="0px"
                    CurrentPageButtonStyle="color:#3e69a4;" UrlPageIndexName="page1" UrlPaging="true"
                    ShowBoxThreshold="30">
                </webdiyer:AspNetPager>
                <%-- <a href=""><</a> <span>1</span> <a href="">2</a> <a href="">3</a> <a href="">4</a>
                <a href="">></a>
                <input type="text" class="gopage" />
                go--%>
            </div>
            <p class="clear">
            </p>
            <p class="nsort_title nsort_mar">
                Media Reports</p>
            <div class="news_list">
                <ul>
                    <asp:Repeater ID="repMediaReports" runat="server">
                        <ItemTemplate>
                            <li>
                                <p class="news_title">
                                    <a href="<%#GetReportUrl(Container.DataItem as TextInfo)%>" target="_blank">
                                        <%#(Container.DataItem as TextInfo).Title %>
                                    </a>
                                </p>
                                <p>
                                    <%#(Container.DataItem as TextInfo).MediaPublishTime.ToString("MMMM dd, yyyy", new System.Globalization.CultureInfo("en-us"))%>
                                    |
                                    <%#(Container.DataItem as TextInfo).MediaName%><br />
                                    <span class="news_infor">
                                        <%#(Container.DataItem as TextInfo).Summary%>
                                    </span>
                                    <br />
                                    Related Company :
                                    <%#CompanyInfoBLL.Instance.GetEnCompanyName((Container.DataItem as TextInfo).CompanyId)%></p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div class="pages">
                </div>
            </div>
            <p class="clear">
            </p>
            <div class="pages listborder nolistborder news_pages_left">
                <webdiyer:AspNetPager ID="AspNetPager2" runat="server" NextPageText="Next Page" PrevPageText="Previous Page "
                    FirstPageText="First Page" LastPageText="Last Page" ShowPageIndexBox="Always"
                    PageIndexBoxClass="gopage" PageIndexBoxStyle="width:22px;" SubmitButtonClass="gobutton"
                    PageSize="3" OnPageChanged="AspNetPager2_PageChanged" PagingButtonSpacing="0px"
                    CurrentPageButtonStyle="color:#3e69a4;" UrlPageIndexName="page2" UrlPaging="true"
                    ShowBoxThreshold="30">
                </webdiyer:AspNetPager>
                <%--    <a href=""><</a> <span>1</span> <a href="">2</a> <a href="">3</a> <a href="">4</a>
                <a href="">></a>
                <input type="text" class="gopage" />
                go--%>
            </div>
        </div>
        <p class="clear">
        </p>
    </div>
</asp:Content>
